package com.travelgroup.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum RouteDifficulty implements IEnum<Integer> {
    EASY(1, "轻松"),
    MEDIUM(2, "中等"),
    HARD(3, "挑战");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String difficulty;

    RouteDifficulty(Integer value, String difficulty) {
        this.value = value;
        this.difficulty = difficulty;
    }
}
